/*
 * buzzersbulbs.c
 *
 *  Created on: Jun 9, 2010
 *      Author: Armen Nazarian
 */

#include <includes.h>
#include "buzzersbulbs.h"
#include "../app_safetrucking_cfg.h"

void  buzzer1(void *p_arg)
{
	INT8U *err;
    (void)p_arg;
    while(1) {
    	OSSemPend(buzzer1_start, 0, err);
    	bulbs_toggle();
    	buzzer1_turnon();

    }
}
